Optimal. Leaf size=117 \[ \frac {3 B \sin (c+d x) (b \sec (c+d x))^{2/3} \, _2F_1\left (-\frac {1}{3},\frac {1}{2};\frac {2}{3};\cos ^2(c+d x)\right )}{2 b^2 d \sqrt {\sin ^2(c+d x)}}-\frac {3 A \sin (c+d x) \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right )}{b d \sqrt {\sin ^2(c+d x)} \sqrt [3]{b \sec (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 117, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.129, Rules used = {16, 3787, 3772, 2643} \[ \frac {3 B \sin (c+d x) (b \sec (c+d x))^{2/3} \, _2F_1\left (-\frac {1}{3},\frac {1}{2};\frac {2}{3};\cos ^2(c+d x)\right )}{2 b^2 d \sqrt {\sin ^2(c+d x)}}-\frac {3 A \sin (c+d x) \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right )}{b d \sqrt {\sin ^2(c+d x)} \sqrt [3]{b \sec (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2643
Rule 3772
Rule 3787
Rubi steps
\begin {align*} \int \frac {\sec ^2(c+d x) (A+B \sec (c+d x))}{(b \sec (c+d x))^{4/3}} \, dx &=\frac {\int (b \sec (c+d x))^{2/3} (A+B \sec (c+d x)) \, dx}{b^2}\\ &=\frac {A \int (b \sec (c+d x))^{2/3} \, dx}{b^2}+\frac {B \int (b \sec (c+d x))^{5/3} \, dx}{b^3}\\ &=\frac {\left (A \left (\frac {\cos (c+d x)}{b}\right )^{2/3} (b \sec (c+d x))^{2/3}\right ) \int \frac {1}{\left (\frac {\cos (c+d x)}{b}\right )^{2/3}} \, dx}{b^2}+\frac {\left (B \left (\frac {\cos (c+d x)}{b}\right )^{2/3} (b \sec (c+d x))^{2/3}\right ) \int \frac {1}{\left (\frac {\cos (c+d x)}{b}\right )^{5/3}} \, dx}{b^3}\\ &=\frac {3 B \, _2F_1\left (-\frac {1}{3},\frac {1}{2};\frac {2}{3};\cos ^2(c+d x)\right ) (b \sec (c+d x))^{2/3} \sin (c+d x)}{2 b^2 d \sqrt {\sin ^2(c+d x)}}-\frac {3 A \cos (c+d x) \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {7}{6};\cos ^2(c+d x)\right ) (b \sec (c+d x))^{2/3} \sin (c+d x)}{b^2 d \sqrt {\sin ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.23, size = 91, normalized size = 0.78 \[ \frac {3 \sqrt {-\tan ^2(c+d x)} \csc (c+d x) (b \sec (c+d x))^{2/3} \left (5 A \cos (c+d x) \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};\sec ^2(c+d x)\right )+2 B \, _2F_1\left (\frac {1}{2},\frac {5}{6};\frac {11}{6};\sec ^2(c+d x)\right )\right )}{10 b^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.44, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {2}{3}}}{b^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (B \sec \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )^{2}}{\left (b \sec \left (d x + c\right )\right )^{\frac {4}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.70, size = 0, normalized size = 0.00 \[ \int \frac {\left (\sec ^{2}\left (d x +c \right )\right ) \left (A +B \sec \left (d x +c \right )\right )}{\left (b \sec \left (d x +c \right )\right )^{\frac {4}{3}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (B \sec \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )^{2}}{\left (b \sec \left (d x + c\right )\right )^{\frac {4}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {A+\frac {B}{\cos \left (c+d\,x\right )}}{{\cos \left (c+d\,x\right )}^2\,{\left (\frac {b}{\cos \left (c+d\,x\right )}\right )}^{4/3}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (A + B \sec {\left (c + d x \right )}\right ) \sec ^{2}{\left (c + d x \right )}}{\left (b \sec {\left (c + d x \right )}\right )^{\frac {4}{3}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________